<?php if ($this->_var['helps']): ?>
<div id="my_help">
	<div class="title"></div>
    <div class="body">
     
    <div class="kf-title"></div>
    
  	<div id="h_tab">
      <?php $_from = $this->_var['helps']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'help_cat');$this->_foreach['my_helps'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['my_helps']['total'] > 0):
    foreach ($_from AS $this->_var['help_cat']):
        $this->_foreach['my_helps']['iteration']++;
?>
      	<div  <?php if (($this->_foreach['my_helps']['iteration'] == $this->_foreach['my_helps']['total'])): ?> class="tab_item" style="background-image:none;" <?php else: ?> class="tab_item" <?php endif; ?>>
        	<p class="title" style="background:url(themes/default/images/index/s<?php echo $this->_foreach['my_helps']['iteration']; ?>.gif) 20px 0 no-repeat;">
            	<span><?php echo $this->_var['help_cat']['cat_name']; ?></span>
           </p>
           
      		<div class="list">
      			<?php $_from = $this->_var['help_cat']['article']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['item']):
?>
      			<a href="<?php echo $this->_var['item']['url']; ?>" title="<?php echo htmlspecialchars($this->_var['item']['title']); ?>"><?php echo $this->_var['item']['short_title']; ?></a>
      			<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
      		</div>
	</div>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
   </div> 
   
   </div> 
</div>
<?php endif; ?>